
ACLOCAL_AMFLAGS = -I m4

noinst_PROGRAMS = cpp_hello
cpp_hello_SOURCES = cpp_hello.cpp 
cpp_hello_CPPFLAGS = -I$(top_srcdir)/ulscpp -I$(top_srcdir)/src 
cpp_hello_LDADD = $(top_builddir)/ulscpp/libulscpp.la $(top_builddir)/src/libuls.la 

$(cpp_hello_OBJECTS) : SampleLex.h

SampleLex.h : sample.ulc
	$(top_srcdir)/ulc2class/ulc2class -o $@ -n AAA.BBB.SampleLex $<
